import React from 'react'
import './css/welcome.less'
import Video from './components/Video'

class TestsWelcome extends React.Component {
  componentDidUpdate() {
    debugger
  }
  componentWillReceiveProps () {
    debugger
  }
  render() {
    return (
      <div className="welcome">
        <div className="welcome-title">欢迎使用英语水平测试!</div>
        <div className="welcome-content">
          <Video url={this.props.url}></Video>
        </div>
        <div className="welcome-text">
          请点击播放按钮，检测音量是否正常。
        </div>
      </div>
    );
  }
}
export default TestsWelcome;